home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / winsock / ircii2-6.zip / SRC\IRCII-2.6\INCLUDE\KEYS.H < prev    next >
C/C++ Source or Header  |  1994-12-29  |  2KB  |  98 lines

  1. /*
  2.  * keys.h: header for keys.c 
  3.  *
  4.  * Written By Michael Sandrof
  5.  *
  6.  * Copyright(c) 1990 
  7.  *
  8.  * See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT 
  9.  *
  10.  * This file is automatically created by keys.h.proto.
  11.  *
  12.  * @(#)$Id: keys.h.proto,v 1.6 1994/07/02 02:38:10 mrg Stab $
  13.  */
  14.  
  15. #ifndef _KEYS_H_
  16. #define _KEYS_H_
  17.  
  18. #define BACKSPACE 0
  19. #define BACKWARD_CHARACTER 1
  20. #define BACKWARD_HISTORY 2
  21. #define BACKWARD_WORD 3
  22. #define BEGINNING_OF_LINE 4
  23. #define CLEAR_SCREEN 5
  24. #define COMMAND_COMPLETION 6
  25. #define DELETE_CHARACTER 7
  26. #define DELETE_NEXT_WORD 8
  27. #define DELETE_PREVIOUS_WORD 9
  28. #define END_OF_LINE 10
  29. #define ENTER_DIGRAPH 11
  30. #define    ENTER_MENU 12
  31. #define ERASE_LINE 13
  32. #define ERASE_TO_BEG_OF_LINE 14
  33. #define ERASE_TO_END_OF_LINE 15
  34. #define FORWARD_CHARACTER 16
  35. #define FORWARD_HISTORY 17
  36. #define FORWARD_WORD 18
  37. #define META1_CHARACTER 19
  38. #define META2_CHARACTER 20
  39. #define META3_CHARACTER 21
  40. #define META4_CHARACTER 22
  41. #define NEXT_WINDOW 23
  42. #define NOTHING 24
  43. #define PARSE_COMMAND 25
  44. #define PREVIOUS_WINDOW 26
  45. #define QUIT_IRC 27
  46. #define QUOTE_CHARACTER 28
  47. #define REFRESH_INPUTLINE 29
  48. #define REFRESH_SCREEN 30
  49. #define    SCROLL_BACKWARD 31
  50. #define    SCROLL_END 32
  51. #define SCROLL_FORWARD 33
  52. #define SCROLL_START 34
  53. #define SELF_INSERT 35
  54. #define SEND_LINE 36
  55. #define STOP_IRC 37
  56. #define SWAP_LAST_WINDOW 38
  57. #define SWAP_NEXT_WINDOW 39
  58. #define SWAP_PREVIOUS_WINDOW 40
  59. #define SWITCH_CHANNELS 41
  60. #define TOGGLE_INSERT_MODE 42
  61. #define TOGGLE_STOP_SCREEN 43
  62. #define TRANSPOSE_CHARACTERS 44
  63. #define TYPE_TEXT 45
  64. #define UNSTOP_ALL_WINDOWS 46
  65. #define YANK_FROM_CUTBUFFER 47
  66. #define NUMBER_OF_FUNCTIONS 48
  67.  
  68. /* KeyMap: the structure of the irc keymaps */
  69. typedef struct
  70. {
  71.     int    index;
  72.     char    changed;
  73.     int    global;
  74.     char    *stuff;
  75. }    KeyMap;
  76.  
  77. /* KeyMapNames: the structure of the keymap to realname array */
  78. typedef struct
  79. {
  80.     char    *name;
  81.     void    (*func) ();
  82. }    KeyMapNames;
  83.  
  84. extern    KeyMap    FAR keys[],
  85.         FAR meta1_keys[],
  86.         FAR meta2_keys[],
  87.         FAR meta3_keys[],
  88.         FAR meta4_keys[];
  89. extern    KeyMapNames FAR key_names[];
  90.  
  91. extern    void    (* get_send_line())();
  92. extern    void    save_bindings();
  93. extern    void    input_add_character();
  94. extern    void    change_send_line();
  95. extern    void    rbindcmd __P((char *, char *));
  96.  
  97. #endif /* _KEYS_H_ */
  98.